<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<!-- 引入页面描述和关键字模板 -->
<title>${site.title!}_${site.name!}</title>
<meta name="keywords" content="${site.keywords!}" />
<meta name="description" content="${site.description!}" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- 网站图标 -->
<link rel="shortcut icon" href="${url}/favicon.ico" />
<link rel="icon" href="${url}/favicon.ico"/>
<!-- 禁止浏览器初始缩放 -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<!-- 引入主题样式表 -->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme!}/css/style.css" />
<!-- 引入主题响应式样式表-->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme!}/css/responsive.css" />
<!-- 引入自定义样式表 -->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme!}/css/custom.css" />
<!-- 引入字体样式表-->
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme!}/css/fonts/font-awesome/font-awesome.css"  media="all" />
<!-- 引入用户自定义代码 -->
<script type='text/javascript' src='${ctx}/template/themes/${site.theme!}/js/jquery.min.js'></script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="${ctx}/template/themes/${site.theme!}/js/html5.js"></script>
<script src="${ctx}/template/themes/${site.theme!}/js/css3-mediaqueries.js"></script>
<script src="${ctx}/template/themes/${site.theme!}/js/PIE_IE678.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme!}/css/iefix.css"  media="all" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme!}/css/fonts/font-awesome/font-awesome-ie7.min.css" media="all" />
<![endif]-->
<!--[if IE 6]>
<script src="${ctx}/template/themes/${site.theme!}/js/kill-IE6.js"></script>
<![endif]-->
</head>
<body class="home blog">
<div id="body-container">
<?include("header.html"){}?>
<script type="text/javascript">
	$('.site_loading').animate({'width':'33%'},50);  //第一个进度节点
</script>
<div id="main-wrap">
<?include("bbs.html"){}?>
<script type="text/javascript">
$(document).ready(function(){
	$('#flexslider').flexslider({
		animation: "slide",
		direction:"horizontal",
		easing:"swing",
		//pauseOnHover:true,
		slideshowSpeed: 5000,
		animationDuration:600,
		prevText: " < ",
        nextText: " > ",
        randomize:true
	});
});
</script>
<section id="home-featured" class="clr">
<div id="home-slider" class="container">
<!-- Slider -->
	<div id="flexslider" class="flexslider flexslider-nar">
		<ul class="slides">
			<?for(a in blocks['index.carousel']!){?>
			<li>
				<a class="slider-img" href="${ctx}/html/show_${a.id!}.html" target="_blank" title="${a.title!}">
					<img src="${a.cover}" alt="${a.title!}"/>
				</a>
				<h2><a href="${ctx}/html/show_${a.id!}.html" target="_blank" title="${a.title!}">${a.title!}</a></h2>
		    </li>
		    <?}?>
		</ul>
	</div>
	<div id="flexslider-right">
		<span class="slider-newest">
			<div class="slider-newest-title">
				<h2>最新动态<a href="${ctx}/html/all.html" target="_blank" title="更多动态">更多</a>
				<i class="fa fa-sitemap"></i>
				</h2>
			</div>
			<div class="slider-newest-articles">
				<?for(a in blocks['site.recent']!){?>
				<article class="clr">
					<a href="${ctx}/html/show_${a.id!}.html" title="${a.title!}" class="fancyimg" target="_blank">
						<div class="thumb-img">
							<img src="${ctx}${a.thumb!'/images/no-thumb.jpg'}" alt="${a.title!}">
							<span></span>
						</div>
					</a>
					<h3><a href="${ctx}/html/show_${a.id!}.html" title="${a.title!}">${a.title!}</a></h3>
					<span class="date">${a.create_time,'yyyy年MM月dd日'}</span>
				</article>
				<?}?>
			</div>
		</span>
	</div>
</div>
<!-- End Slider -->
</section>
<!-- Header Banner -->
<!-- /.Header Banner -->
	<!-- CMS Layout -->
	<div class="container two-col-container cms-bar">
	<section>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 横幅970*90 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:970px;height:90px"
     data-ad-client="ca-pub-6178527637915800"
     data-ad-slot="4561221276"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</section>
<div id="main-wrap-left">
<!-- Stickys -->
<section class="stickys clr">
	<h2 class="home-heading clr">
		<span class="heading-text-blog">置顶推荐</span>
	</h2>
	<div class="stickys-container stickys-two-col stickys-latest-list clr">
		<?for(a in blocks['index.top']!){?>
		<article class="clr col-small">
			<div class="inner">
				<a href="${ctx}/html/show_${a.id!}.html" target="_blank" title="${a.title!}" class="fancyimg home-blog-entry-thumb">
				<div class="thumb-img">
					<img src="${ctx}${a.thumb!'/images/no-thumb.jpg'}" alt="${a.title!}">
					<span><i class="fa fa-star"></i></span>
				</div>
				</a>
				<h3><a href="${ctx}/html/show_${a.id!}.html" target="_blank" title="${a.title!}">${a.title!}</a></h3>
				<p>${str.getIntro(a.content!,0,70)}...</p>
			</div>
			<div class="meta">
				<span class="date">${a.create_time,'yyyy年MM月dd日'}</span>
				<span class="views">浏览: ${a.read_num!0}</span>
				<span class="comments">评论: ${a.reply_num!0}</span>
			</div>
		</article>
		<?}?>	
	</div>
</section>
<!-- /.Stickys -->	
<section class="catlist clr">
	<?for(c in subList!) {
		if(isEmpty(c.link!)) {
	?>
	<section class="catlist_1_of_2">
		<div class="catlist-container clr">
			<h2 class="home-heading clr">
				<span class="heading-text">${c.title!}</span>
				<a href="${ctx}/${c.alias!}.html" target="_blank">→ 更多</a>
			</h2>
			<?for(a in subCatPostList['list_'+c.id]!) {?>
			<?if(aLP.index <= 6) {?>
			<span class="col-down s0">
				<article class="home-smalllist-entry clr">
					<div class="home-smalllist-entry-text clr">
						<h3>
							<i class="fa fa-pencil-square"></i>
							<a href="${ctx}/html/show_${a.id!}.html" target="_blank" title="${a.title!}">${a.title!}</a><span class="postlist-meta-time">${a.create_time,'yyyy-MM-dd'}</span>
						</h3>
					</div>
				</article>
			</span>
			<?}}?>
		</div>
	</section>
	<?}}?>
</section>
</div>
<script type="text/javascript">
	$('.site_loading').animate({'width':'55%'},50);  //第二个节点
</script>
<?include("right.html",{}){}?>
<script type="text/javascript">
	$('.site_loading').animate({'width':'78%'},50);  //第三个节点
</script>
</div>
<div class="clear">
</div><!-- Blocks Layout -->
</div>
<!--/.Main Wrap -->
<script type="text/javascript">
var ajax_sign_object = {"redirecturl":"${url}","ajaxurl":"${url}/ajax","loadingmessage":"\u6b63\u5728\u8bf7\u6c42\u4e2d\uff0c\u8bf7\u7a0d\u7b49..."};
var yi = {"home":"${url}","ajax_url":"${url}/ajax","tin_url":"${url}/template/themes/${site.theme!}/","uid":${session.front_login_user.id!0}}
</script>
<script type='text/javascript' src='${ctx}/template/themes/${site.theme!}/js/function.js'></script>
<script type='text/javascript' src='${ctx}/template/themes/${site.theme!}/js/theme.js'></script>
<?include("footer.html",{}){}?>
<script type="text/javascript">
	$('.site_loading').animate({'width':'90%'},50);  //第四个节点
</script>
</div>
<?include("sign.html"){}?>

<script type="text/javascript">
	$('.site_loading').animate({'width':'100%'},50);  //第五个节点
</script>
</body>
</html>
